#include"EpollSever.hpp"


int main(int argc, char* argv[])
{
    //判断是否输入了端口号
    if(argc != 2)
    {
        std::cout << argv[0] << " port" << std::endl;
    }
    Enable_Console_Log_Strategy();
    uint16_t port = std::stoi(argv[1]);

    std::unique_ptr<PollSever> t = std::make_unique<PollSever>((port));

    t->Start();
    return 0;
}